/*
 * @Author: liyin 2179253556@qq.com
 * @Date: 2022-11-09 14:37:11
 * @LastEditors: liyin 2179253556@qq.com
 * @LastEditTime: 2025-07-11 17:21:30
 */
// 引入请求方式
import { get, post, put, delete2 } from '../../util/http'
export const logout = () => post('/admin/logout')
// 登录接口
export const postLoginApi = (obj: any) => post('/admin/login', obj)
// 退出登录
export const postLogoutApi = () => post('/admin/logout')
// 修改密码
export const putUpdatePwdApi = (obj: any) => put('/admin/updatePasswd', obj)
// 忘记密码
export const postChangeForgetPasswdApi = (obj: any) => post('/admin/changeForgetPasswd', obj)
// 忘记密码获取手机验证码
export const postSendForgetPasswdCodeApi = (obj: any) => post('/admin/sendForgetPasswdCode', obj)
// 忘记密码验证验证码
export const postCheckForgetPasswdCodeApi = (obj: any) => post('/admin/checkForgetPasswdCode', obj)

